<template>
  <div class="app-container">
    <div class="app-container__inner">
      <homepage-title>
        <div class="header-container__title">最给力的代理专属APP</div>
        <div class="header-container__brief">
          独家开发IOS，安卓等移动设备的代理专属APP，安全，私密，随时随地地查看报表
        </div>
      </homepage-title>
      <div class="app-download-main">
        <timeout-cell :time="1600" :iteration="true" class="slideInLeft app-download-main__left">
        </timeout-cell>
        <timeout-cell :time="2200" :iteration="true" class="app-download-main__top slideInLeft ">
        </timeout-cell>
        <timeout-cell :time="2200" :iteration="true" class="app-download-main__bottom slideInRight ">
        </timeout-cell>
        <timeout-cell :time="1600" :iteration="true" class="slideInRight app-download-main__right">
          <div class="app-download-main__title">
            您可以通过扫描二维码下载该应用
          </div>
          <div class="app-download-main__qrs">
            <div class="app-download-main__qr">
              <div class="app-download-main__qr-pic-wrapper">
                <qriously :value='downloadUrl' :size='174' class="app-download-main__qr-pic"></qriously>
              </div>
              <div class="app-download-main__qr-name">
                APP下载
              </div>
            </div>
          </div>
        </timeout-cell>
      </div>

    </div>

  </div>
</template>


<script>
  export default {
    name: "proxy-app",

    data() {
      return {
        downloadUrl: _.proxyDownloadUrl()
      };
    }
  };
</script>

<style lang="scss" scoped>
  @include b(app-container) {
    height: 100%;
    background: #f6f7f9;
    display: flex;
    justify-content: center;
    //   @include e(inner) {
    //     display: flex;
    //     justify-content: center;
    //     align-items: center;
    //     flex-flow: column;
    //   }
    @include b(app-download-main) {
      display: flex;
      padding-top: 71px;
      justify-content: space-between;
      @include main-center(1400px);
      position: relative;
      @include e(left) {
        width: 489px;
        height: 778px;
        @include utils-bg(url("./img/moblie-show.png") no-repeat);
      }
      @include e(top) {
        width: 460px;
        height: 265px;
        @include utils-bg(url("./img/moblie-top-shadow.png") no-repeat);
        position: absolute;
        left: 331px;
        top: 165px;
      }
      @include e(bottom) {
        width: 378px;
        height: 223px;
        @include utils-bg(url("./img/moblie-bottom-shadow.png") no-repeat);
        position: absolute;
        left: 461px;
        top: 378px;
      }
      @include e(right) {
        position: absolute;
        padding-top: 146px;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-flow: column;
        @include e(title) {
          font-size: 24px;
          font-family: "MicrosoftYaHeiUI";
          font-weight: 400;
          color: #202243;
          margin-bottom: 35px;
        }
        @include e(qr-pic-wrapper) {
          width: 241px;
          height: 241px;
          border-radius: 8px;
          display: flex;
          box-shadow: 0 0.06rem 0.32rem 0 rgba(0, 0, 0, 0.15);
          justify-content: center;
          align-items: center;
          margin-bottom: 30px;
          img {
            width: 174px;
            height: 174px;
          }
        }
        @include e(qr-name) {
          font-size: 20px;
          font-family: "MicrosoftYaHeiUI";
          font-weight: 400;
          color: #696b81;
          text-align: center;
        }
      }
    }
  }
</style>
